#ifndef MW_CHANNEL_H
#define MW_CHANNEL_H


/** Meanwhile */


/** @file mw-channel.h
    @since 2.0.0

    bla bla */


#include <glib.h>
#include "mw-common.h"


G_BEGIN_DECLS



typedef enum mw_channel_state {
  MW_CHANNEL_STATE_CLOSED = MW_STATE_STOPPED,
  MW_CHANNEL_STATE_REQUEST = MW_STATE_STARTING | 1,
  MW_CHANNEL_STATE_ACCEPT = MW_STATE_STARTING | 2,
  MW_CHANNEL_STATE_OPENED = MW_STATE_STARTED,
  MW_CHANNEL_STATE_CLOSING = MW_STATE_STOPPING,
  MW_CHANNEL_STATE_ERROR = MW_STATE_ERROR | MW_STATE_STOPPING,

} MwChannelState;


GType mw_channel_state_get_type();


#define MW_TYPE_CHANNEL_STATE (mw_channel_state_get_type())



typedef struct mw_channel {
  MwObject mwobject;

} MwChannel;


typedef struct mw_channel_class {
  MwObjectClass mwobjectclass;

} MwChannelClass;



G_END_DECLS


#endif /* MW_CHANNEL_H */
